package tomcat.annotation;

import java.lang.annotation.*;

/**
 * Controller 注解，Servlet必须加上这个注解，TomcatServer才能通过反射找到Servlet
 */
@Target(value = ElementType.TYPE)
@Inherited
@Retention(RetentionPolicy.RUNTIME)
public @interface Controller {
    String url();

    String name() default "";
}
